home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / WINDOWS / PROFFT.ARJ / PROFFTID.H < prev    next >
C/C++ Source or Header  |  1992-04-25  |  2KB  |  73 lines

  1. #ifndef __PROFFTID_H
  2. #define __PROFFTID_H
  3.  
  4. // Type constants
  5. #define profftcomplexitem float
  6.  
  7. // Misc. numeric constants
  8. #define SCROLLFACTOR 100
  9. #define MAX_CAPTION_LENGTH 100
  10. #define MAX_RUBBER_SIZE 32
  11. #define MS_BUG 7
  12. #define GMEM_PROFFTDATA GMEM_MOVEABLE | GMEM_ZEROINIT
  13.  
  14. // Misc. string constants
  15. #define APP_NAME "PROfft"
  16. #define ERROR_CAPTION "PROfft - Error"
  17. #define HELP_FILE_NAME "HJELP.HLP"
  18.  
  19. // CommandMenu constants
  20. #define CM_HELPINDEX        600
  21. #define CM_HELPABOUTPROFFT    601
  22. #define CM_TRANSFFT        300
  23. #define CM_TRANSIFFT        301
  24. #define CM_TRANSINVERT 302
  25. #define CM_FILTERLOWPASS    400
  26. #define CM_FILTERHIGHPASS    401
  27. #define CM_FILTERBANDPASS    402
  28. #define CM_FILTERBANDSTOP    403
  29. #define CM_FILTERBWLOWPASS    404
  30. #define CM_FILTERBWHIGHPASS    405
  31. #define CM_FILTERFREEHAND    406
  32. #define CM_FILTERCOMPLEXOPTIONS 410
  33. #define CM_FILTEROPTIONS    420
  34. #define CM_WINDOWRESIZECHILDREN 501
  35.  
  36. // Button constants
  37.  
  38. // MessageBox constants
  39. #define MB_ERROR MB_ICONEXCLAMATION | MB_OK
  40.  
  41. // Filter dialogbox constants
  42. #define DB_EDITFREQUENCYLENGTH 10
  43. #define DB_EDITFREQUENCY1 101
  44. #define DB_EDITFREQUENCY2 102
  45. #define DB_EDITFREQUENCY  103
  46. #define DB_SCROLLFREQUENCY1 111
  47. #define DB_SCROLLFREQUENCY2 112
  48. #define DB_SCROLLFREQUENCY 113
  49. #define FILTERDIALOGBOXDISTANCE 5
  50.  
  51. // PROfft Options dialogbox
  52. #define DB_SCROLLRUBBER    101
  53. #define DB_RADIOCIRCLERUBBER 105
  54. #define DB_RADIOSQUARERUBBER 106
  55. #define DB_GROUPRUBBERSHAPE 120
  56. #define DB_TEST 130
  57. #define DB_TOGGLEAUTORESCALE 110
  58. #define DB_TOGGLESHIFTCENTER 111
  59.  
  60. // Progress dialogbox constants
  61. #define DB_TEXTLENGTH 40
  62. #define DB_FILTERCOLOUR RGB(255,0,0)
  63. #define DB_TEXT 100
  64. #define DB_PERCENTAGE 101
  65. #define DB_PAINTAREA 110
  66. #define DB_CANCELBUTTON 120
  67.  
  68. // Custom Windows messages
  69. #define WM_SETPROGRESSTEXT WM_FIRST + 100
  70. #define WM_SETPROGRESS WM_FIRST + 101
  71.  
  72. #endif
  73.